global_count = 0
writer=None